//
//  CLike.h
//  HCHK_iphone
//
//  Created by yilong zhang on 11-12-13.
//  Copyright 2011年 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "CProduct.h"

@class CProduct;

@interface CLike : CProduct

@property (nonatomic, retain) CProduct *m_Product;

-(id)initWithProduct:(CProduct*)product;

-(int)SaveLike:(NSString*)tablename IconPath:(NSString*)iconPath ImagePath:(NSString*)imagepath;
-(void)SaveIcon:(NSString*)rootpath;
-(void)SaveImage:(NSString*)rootpath;

-(void)RemoveLike:(NSString*)tablename IconPath:(NSString*)iconPath ImagePath:(NSString*)imagepath;
-(void)RemoveIcon:(NSString*)rootpath;
-(void)RemoveImage:(NSString*)rootpath;

@end
